package com.j48.entrancegurad.service;

import com.j48.entrancegurad.model.Picture;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IPictureService {
    public List<Picture> selectAll();
    public List<Picture> selectAllAble();
    public String addPicture(MultipartFile file,String pat);
    public boolean delete(Picture picture);
    public boolean update(Picture picture);
    public String uploadImg(HttpServletRequest request,int picture_id,MultipartFile file);
}
